dsh-api-balance: View AI platform balances and usage in the DSH session title bar.

dsh-api-balance is a DSH Web plugin maintained by Badegg404, designed to address the issue of disparate balances and usage across multiple AI platforms. This plugin displays information as a floating overlay in the session title bar, featuring two tabs—"Balance" and "Usage"—and supports switching between multiple vendors. Key features include: 30-second automatic real-time refresh and manual refresh; credentials persisted in `~/.dsh/.credentials.yaml` (permission 0600) and retained after restart; security measures where only loopback requests are accepted and API keys are never exposed in the frontend or logs; and theme adaptation. New platforms can be easily added by configuring `PROVIDERS`. The plugin can be enabled with a single `dsh plugin` command.

Read More